package com.xue.my.protocol;

import java.util.LinkedHashMap;
import java.util.Map;

/**   
 * @Title: ModelAndView.java 
 * @Package com.xue.my.protocol 
 * @Description: TODO
 * @author jimmy lovelyxuehanxin@163.com   
 * @date 2013-7-22 下午8:47:47 
 */
public class ModelAndView {
	
	private String view;
	private Map<String, Object> responseMap = new LinkedHashMap<String, Object>();
	
	public ModelAndView(){}
	public void addObject(String key, Object value){
		responseMap.put(key, value);
	}
	public String getView() {
		return view;
	}
	public void setView(String view) {
		this.view = view;
	}
	public Map<String, Object> getResponseMap() {
		return responseMap;
	}
	public void setResponseMap(Map<String, Object> responseMap) {
		this.responseMap = responseMap;
	}
	
	
}
